package CreationMode.single.demo04;

// 单列模式 饿汉式 双重检查模式
public class Client {
    public static void main(String[] args) {
         Single single1 = Single.getSingle();
         Single single2 = Single.getSingle();

         System.out.println(single1 == single2);
    }
}
